package com.test;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.ImageView;

public class AdminScreen extends Activity{
	
	private ImageView imgUser, imgOrder, imgAdd, imgProduct;
	
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.adminscreen);
		
		imgUser = (ImageView) findViewById(R.id.imgUser);
		imgUser.setOnClickListener(new OnClickListener(){

			public void onClick(View arg0) {
				// TODO Auto-generated method stub
				startActivity(new Intent(AdminScreen.this, UserCheck.class));
			}
			
		});
		imgOrder = (ImageView) findViewById(R.id.imgOrder);
		imgOrder.setOnClickListener(new OnClickListener(){

			public void onClick(View arg0) {
				// TODO Auto-generated method stub
				startActivity(new Intent(AdminScreen.this, OrderCheck.class));
			}
			
		});
		imgAdd = (ImageView) findViewById(R.id.imgProduct);
		imgAdd.setOnClickListener(new OnClickListener(){

			public void onClick(View arg0) {
				// TODO Auto-generated method stub
				startActivity(new Intent(AdminScreen.this, CameraActivity.class));
			}
			
		});
		
		imgProduct = (ImageView) findViewById(R.id.imgPro);
		imgProduct.setOnClickListener(new OnClickListener(){

			public void onClick(View arg0) {
				// TODO Auto-generated method stub
				startActivity(new Intent(AdminScreen.this, ProductCheck.class));
			}
			
		});
	}

}
